<template>
  <div>
    <el-table :data="tableData" border style="width:100%">
      <el-table-column fixed prop="cno" label="科目号" width="150">
      </el-table-column>
      <el-table-column prop="cname" label="科目名" width="120">
      </el-table-column>
      <el-table-column prop="cclasstime" label="学时" width="120">
      </el-table-column>
      <el-table-column prop="ccycle" label="上课周期" width="120">
      </el-table-column>
      <el-table-column prop="camount" label="所需费用" width="120">
      </el-table-column>
      <el-table-column prop="caddress" label="上课地点" width="120">
      </el-table-column>
      <el-table-column prop="tno" label="教师编号" width="120">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "stuCourseList",
  data() {
    return {
      stuNo:'',
      tableData:null
    }
  },
  created(){
    // this.stuNo = localStorage.getItem("stuno");
    // console.log(this.cno);
    // console.log(this.stuNo);
    // const  _this = this;
    // this.$axios.get(`/course/chooseList?stuNo=${this.stuNo}`).then((res) => {
    //   console.log(res.data);
    //   _this.tableData = res.data;

    },
}
</script>

<style scoped>

</style>
